package com.sx.art2.mapper;

import java.util.List;

import com.sx.art2.beans.Category;

public interface CategoryMapper {
	
	void insert(Category category);
	void delete(int categoryId);
	void update(Category category);
	Category selectById(int categoryId);
	Category selectByName(String categoryName);
	List<Category> list();

}
